Blender Documentation Volume II - Reference Guide: Last modified March 29 2004 S68 | ||
---|---|---|
<<< Previous | Python API Reference | Next >>> |
This object gives access to Camera-specific data in Blender.
Warning: Most member variables assume values in some [Min, Max] interval. When trying to set them, the given parameter will be clamped to lie in that range: if val < Min, then val = Min, if val > Max, then val = Max.
Method Summary | ||
float | getClipEnd() Get the clip end value. | |
float | getClipStart() Get the clip start value. | |
float | getDrawSize() Get the draw size value. | |
float | getLens() Get the lens value. | |
int | getMode() Get this Camera's mode flags. | |
string | getName() Get the name of this Camera Data object. | |
int | getType() Get this Camera's type. | |
á | setClipEnd(clipend) Set the clip end value. | |
á | setClipStart(clipstart) Set the clip start value. | |
á | setDrawSize(drawsize) Set the draw size value. | |
á | setLens(lens) Set the lens value. | |
á | setMode(mode1, mode2) Set this Camera's mode flags. | |
á | setName(name) Set the name of this Camera Data object. | |
á | setType(type) Set this Camera's type. |
Class Variable Summary | ||
á | clipEnd - The clip end value in [1.0, 5000.0]. | |
á | clipStart - The clip start value in [0.0, 100.0]. | |
á | drawSize - The draw size value in [0.1, 10.0]. | |
á | lens - The lens value in [1.0, 250.0]. | |
á | mode - The mode flags: or'ed value: 'showLimits':1, 'showMist':2. | |
á | name - The Camera Data name. | |
á | type - The Camera type: 'persp':0 or 'ortho':1. |
getMode() Get this Camera's mode flags.
|
setClipEnd(clipend) Set the clip end value.
|
setClipStart(clipstart) Set the clip start value.
|
setDrawSize(drawsize) Set the draw size value.
|
setMode(mode1=None, mode2=None) Set this Camera's mode flags. Mode strings given are turned 'on'. Those not provided are turned 'off', so cam.setMode() -- without arguments -- turns off all mode flags for Camera cam.
|
setName(name) Set the name of this Camera Data object.
|
setType(type) Set this Camera's type.
|
<<< Previous | Home | Next >>> |
Class Camera | Up | Module Lamp |